Skip to content

Include component defaults in Optuna search space#1145

Merged
mdekstrand merged 5 commits into
lenskit:mainfrom
mdekstrand:fix/optuna-default
Jul 10, 2026
Merged

Include component defaults in Optuna search space#1145
mdekstrand merged 5 commits into
lenskit:mainfrom
mdekstrand:fix/optuna-default

Conversation

@mdekstrand

Copy link
Copy Markdown
Member

This updates the Optuna search to enqueue the component's default settings (from the component and its configuration) before it tries random points.

@mdekstrand mdekstrand self-assigned this Jul 9, 2026
@mdekstrand mdekstrand moved this from Backlog to In Progress in LensKit Development Jul 9, 2026
@mdekstrand
mdekstrand force-pushed the fix/optuna-default branch from e391d79 to 1bfcce7 Compare July 9, 2026 22:32
@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.66667% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.55%. Comparing base (d930b51) to head (1bfcce7).

Files with missing lines Patch % Lines
src/lenskit/tuning/_optuna.py 86.36% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1145      +/-   ##
==========================================
- Coverage   89.56%   89.55%   -0.02%     
==========================================
  Files         256      256              
  Lines       17234    17274      +40     
==========================================
+ Hits        15435    15469      +34     
- Misses       1799     1805       +6     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

mdekstrand added a commit that referenced this pull request Jul 10, 2026
@mdekstrand
mdekstrand merged commit 1bfcce7 into lenskit:main Jul 10, 2026
39 of 41 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in LensKit Development Jul 10, 2026
@mdekstrand
mdekstrand deleted the fix/optuna-default branch July 10, 2026 17:50
@mdekstrand mdekstrand added this to the 2026.3 milestone Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

1 participant